package com.example.demo.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 数据源管理表(BmDatasourceManagement)实体类
 *
 * @author suliwei
 * @since 2025-05-26 17:09:15
 */
@Data
@Table(name = "bm_datasource_management")
public class BmDatasourceManagement {

    /**
     * 数据源ID.
     */
    @Id
    @Column(name = "datasource_id")
    private String datasourceId;
    /**
     * 数据源名称.
     */
    @Column(name = "src_name")
    private String srcName;
    /**
     * 数据源URL.
     */
    @Column(name = "src_url")
    private String srcUrl;
    /**
     * 用户名和密码是否加密;0:未加密、1:加密.
     */
    @Column(name = "is_encrypted")
    private Integer isEncrypted;
    /**
     * 用户名.
     */
    @Column(name = "enc_user")
    private String encUser;
    /**
     * 密码.
     */
    @Column(name = "enc_pass")
    private String encPass;
    /**
     * 场景ID.
     */
    @Column(name = "market_id")
    private String marketId;


}

